package com.wxm.pattern.abstractfactory;

public class AbstractFactoryTest {
    public static void main(String[] args) {
        IAnimalFactory animalFactory = new CatFactory();
        animalFactory.getEat().eat();
        animalFactory.getSleep().sleep();
    }
}
